import request from '@/utils/request'

// 查询客户满意度列表
export function listSatisfied(query) {
  return request({
    url: '/blrs/satisfied/list',
    method: 'get',
    params: query
  })
}

// 查询客户满意度详细
export function getSatisfied(id) {
  return request({
    url: '/blrs/satisfied/' + id,
    method: 'get'
  })
}

// 新增客户满意度
export function addSatisfied(data) {
  return request({
    url: '/blrs/satisfied',
    method: 'post',
    data: data
  })
}

// 修改客户满意度
export function updateSatisfied(data) {
  return request({
    url: '/blrs/satisfied',
    method: 'put',
    data: data
  })
}

// 删除客户满意度
export function delSatisfied(id) {
  return request({
    url: '/blrs/satisfied/' + id,
    method: 'delete'
  })
}
